package com.duoduo.springcloud.service.impl;

import com.duoduo.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * PaymentFallbackService hystrix通配
 *
 * @author qian
 * @version 1.0
 * @date 2020/11/26 9:43
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService paymentInfo_TimeOut";
    }
}
